package com.yanqu.road.logic.xlogic.rank.channel.entiety;

import com.yanqu.road.entity.rank.xrank.XChannelRankPart;

public class XGetChannelRankPartResult {

    private XChannelRankPart rankPart;
    private int myRank;

    public XGetChannelRankPartResult(XChannelRankPart rankPart, int myRank) {
        this.rankPart = rankPart;
        this.myRank = myRank;
    }

    public XGetChannelRankPartResult() {
        this.rankPart = null;
        this.myRank = -1;
    }

    public XChannelRankPart getRankPart() {
        return rankPart;
    }

    public int getMyRank() {
        return myRank;
    }
}
